Text this: Chemical versus physical pressure effects on the structure transition of bilayer nickelates