It can be done that way with GoBGP:
gobgp global rib add -a ipv4 123.123.253.0/24 aspath 999999
Then receiving router will see it as:
AS9000, AS999999 123.123.253.0/24
It's required in cases when we have RPKI validation and ROA validation on upstream side