Johnny Giavotella cracked a smile as he rounded second base, moments after his three-run home run crashed into a railing above his team’s bullpen in left field. It was his first homer in more than a year in the majors, and it rung in a wild, 9-7 comeback victory for the Royals over the Seattle Mariners.

“It almost felt like I was walking on clouds as I rounded the bases,” Giavotella said.

With one swing, Giavotella shuttled the Royals to a victory, assured a winning record on this seven-game West Coast trip and ushered in an internal roster debate that could lead to the demotion of slump-ridden third baseman Mike Moustakas.

That discussion will be settled by Tuesday. In the immediate aftermath of Sunday, the Royals could exhale. They flew to San Diego a week ago ensnared in a deflating losing skid. They managed to snap the streak and win four of their seven games here, even if their offensive consistency still exasperates.

For once, manager Ned Yost mentioned, the offense bailed out the pitcher. Jeremy Guthrie served up three homers and seven runs. But an offensive deluge wrought by Giavotella’s bomb and the first grand slam of Alcides Escobar’s career allowed them to exit on the winning side.

“It was a good day,” Yost said.

Now comes the hard part. The Royals face a roster crunch this week. Giavotella arrived on Friday as a temporary replacement for second baseman Omar Infante. The team expects the inflammation in Infante’s lower back to dissipate before they face the Rockies on Tuesday. By then, they would like to add a reliever to their depleted bullpen.

The initial suspicion was Giavotella would return to Class AAA Omaha. Asked about the situation, Yost stressed the team was considering several options. He declined to speculate whether Giavotella’s home run affected his status.

But Giavotella adds a measure of utility to the roster. His fielding is questionable. But he has experienced continual success as a minor-league hitter. He has played third baseman more often than second for the Storm Chasers.

The Royals do not view Giavotella as a long-term solution for Moustakas. But they feel Moustakas requires an infusion of confidence and success to emerge from his season-starting slide. His on-base plus slugging percentage is .536, which is 115 points below his previous nadir in 2013. The team has already split Moustakas’ time into a platoon with Danny Valencia.