How do you scope inflections?

I have two gems in my project that cause an issue when used together. The first gem defines a class named “Api”. The second gem uses “API” AND defines an acronym like so:

ActiveSupport::Inflector.inflections(:en) do |inflect|
  inflect.acronym "API"
end

This causes this error with the first gem (I believe):

[...]/app/controllers/alchemy/api/base_controller.rb:4:in `<module:Alchemy>': uninitialized constant Alchemy::Api (NameError)
class Api::BaseController < Alchemy::BaseController
      ^^^
Did you mean?  Alchemy::API

Is there a way to scope the inflections, so that I can namespace it for the other gem, that doesn’t define an acronym? Or do you have a different idea how I could solve this?

I couldn’t find anything on the web or the docs about this, but I doubt this is such a rare case.

Is the problem preventing autoloading? Are the gems engines?